//
//  TrainModel.m
//  Four_Fit_New
//
//  Created by xalo on 16/7/15.
//  Copyright © 2016年 xmaz. All rights reserved.
//

#import "TrainModel.h"
#import "LstAction.h"
@implementation TrainModel

- (NSMutableArray<LstAction *> *)lstArray{
    if (!_lstArray) {
        _lstArray = [NSMutableArray array];
    }
    return _lstArray;
}

- (void)setValue:(id)value forUndefinedKey:(NSString *)key{
    if ([key isEqualToString:@"lstAction"]) {
        for (NSDictionary *dic in value) {
            LstAction *model = [[LstAction alloc] init];
            [model setValuesForKeysWithDictionary:dic];
            [self.lstArray addObject:model];
        }
    }
}
@end
